﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayingCards.Model.Entity
{
    /// <summary>
    ///  牌面
    /// </summary>
    [SugarTable("Card")]
    public class Card : BaseEntity
    {
        /// <summary>
        /// 数字：表示扑克牌数字（2-10、J、Q、K、A、等）
        /// </summary>
        [SugarColumn(ColumnName = "Number")]
        public int Number { get; set; }

        /// <summary>
        /// 花色：表示扑克牌的花色（红桃、黑桃、梅花、方片）
        /// </summary>
        [SugarColumn(ColumnName = "Decor")]
        public string Decor { get; set; }
    }
}
